import {createBrowserRouter} from 'react-router-dom'
import App from '../App'
import Home from '../pages/Home'
import Ck from '../pages/Ck'
import Chat from '../pages/Chat'
const router=createBrowserRouter([
    {
        path:'/',
        element:<App></App>,
        children:[
            {
                path:'home',
                element:<Home></Home>
            },
            {
                index:true,
                element:<Home></Home>
            },
           
        ]
    },
    {
        path:'/ck',
        element:<Ck></Ck>
    },
    {
        path:'/chat',
        element:<Chat></Chat>
    }
])

export default router